/**
 */
package org.mro.grib.model.files.firstEdition.sections;

import java.nio.ByteBuffer;

import org.eclipse.emf.ecore.EObject;
import org.mro.grib.core.GribException;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Grid Definition Section</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getStartOffset <em>Start Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getEndOffset <em>End Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getLength <em>Length</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getNv <em>Nv</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getPvOffset <em>Pv Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getPlOffset <em>Pl Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getDataRepresentationType <em>Data Representation Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection()
 * @model
 * @generated
 */
public interface GridDefinitionSection extends EObject {
	/**
	 * Returns the value of the '<em><b>Start Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Start Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Start Offset</em>' attribute.
	 * @see #setStartOffset(long)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_StartOffset()
	 * @model required="true"
	 * @generated
	 */
	long getStartOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getStartOffset <em>Start Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Start Offset</em>' attribute.
	 * @see #getStartOffset()
	 * @generated
	 */
	void setStartOffset(long value);

	/**
	 * Returns the value of the '<em><b>End Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>End Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>End Offset</em>' attribute.
	 * @see #setEndOffset(long)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_EndOffset()
	 * @model required="true"
	 * @generated
	 */
	long getEndOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getEndOffset <em>End Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>End Offset</em>' attribute.
	 * @see #getEndOffset()
	 * @generated
	 */
	void setEndOffset(long value);

	/**
	 * Returns the value of the '<em><b>Length</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Length</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Length</em>' attribute.
	 * @see #setLength(int)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_Length()
	 * @model required="true"
	 * @generated
	 */
	int getLength();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getLength <em>Length</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Length</em>' attribute.
	 * @see #getLength()
	 * @generated
	 */
	void setLength(int value);

	/**
	 * Returns the value of the '<em><b>Nv</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Nv</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Nv</em>' attribute.
	 * @see #setNv(byte)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_Nv()
	 * @model required="true"
	 * @generated
	 */
	byte getNv();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getNv <em>Nv</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Nv</em>' attribute.
	 * @see #getNv()
	 * @generated
	 */
	void setNv(byte value);

	/**
	 * Returns the value of the '<em><b>Pv Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Pv Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Pv Offset</em>' attribute.
	 * @see #setPvOffset(byte)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_PvOffset()
	 * @model
	 * @generated
	 */
	byte getPvOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getPvOffset <em>Pv Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Pv Offset</em>' attribute.
	 * @see #getPvOffset()
	 * @generated
	 */
	void setPvOffset(byte value);

	/**
	 * Returns the value of the '<em><b>Pl Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Pl Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Pl Offset</em>' attribute.
	 * @see #setPlOffset(byte)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_PlOffset()
	 * @model
	 * @generated
	 */
	byte getPlOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getPlOffset <em>Pl Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Pl Offset</em>' attribute.
	 * @see #getPlOffset()
	 * @generated
	 */
	void setPlOffset(byte value);

	/**
	 * Returns the value of the '<em><b>Data Representation Type</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Representation Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Representation Type</em>' attribute.
	 * @see #setDataRepresentationType(byte)
	 * @see org.mro.grib.model.files.firstEdition.sections.SectionsPackage#getGridDefinitionSection_DataRepresentationType()
	 * @model required="true"
	 * @generated
	 */
	byte getDataRepresentationType();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.firstEdition.sections.GridDefinitionSection#getDataRepresentationType <em>Data Representation Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Representation Type</em>' attribute.
	 * @see #getDataRepresentationType()
	 * @generated
	 */
	void setDataRepresentationType(byte value);

	/**
	 * 
	 * @param buffer
	 * @throws GribException
	 */
	void initialise(ByteBuffer buffer) throws GribException;
	
} // GridDefinitionSection
